# FROM alpine:latest
FROM alpine:3.20

ENV VERSION 0.1.7
ENV OSSUTIL_VERSION 1.7.13

RUN mkdir -p /usr/local/bin \
    && wget http://gosspublic.alicdn.com/ossutil/${OSSUTIL_VERSION}/ossutil64 -O /usr/local/bin/ossutil \
    && chmod +x /usr/local/bin/ossutil
COPY ./bin/kgou /usr/local/bin/kgou
COPY ./bin/llrt /usr/local/bin/llrt
COPY ./bin/golua.upx /usr/local/bin/golua.upx
RUN chmod +x /usr/local/bin/kgou && chmod +x /usr/local/bin/llrt && chmod +x /usr/local/bin/golua.upx
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# RUN apk add --no-cache hugo git
RUN apk add --no-cache git hugo luajit lua5.1 file wget

